{% extends "left.html" %}
{% block ucontent %}

                    <div itemtype="http://schema.org/Article" itemscope="" id="user-right"
                         class="widget-content single-post">
                        <div id="post-header">
                            <h1 itemprop="headline" class="page-title">我的文章</h1>
                            <div class="poptip">
                                <span class="poptip-arrow poptip-arrow-left"><em>◆</em><i>◆</i>
                                </span>网站更新了，如果发现什么问题，欢迎反馈给火柴（站内信息和编辑资料页面的问题已知）
                            </div>
                        </div>
                        <div itemprop="articleBody" class="entry">
                            <div class="post_count">
                                您已发布<span>0</span>篇文章
                                <span style="color:#FFB848;">草稿</span>
                                <span style="color:#E82C0C;">待审核</span>
                                <span style="color:#1BA1E2;">定时发布</span>
                                <span style="color:#28B779;">已发布</span>
                                <span>编辑</span>
                                <span style="color: red;">删除</span>
                                <p style="color:#28B779;">提示：如果稿件被删除，说明审核没有通过。审稿需要时间，请耐心等候。</p>
                            </div>
                            <div class="wpuf-message" style="display: none"></div>
                            <table cellspacing="0" cellpadding="0" class="wpuf-table post">
                                <thead>
                                    <tr>
                                        <th>标题</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                {% for item in favoritelist %}
                                    <tr>
                                        <td><a rel="bookmark" title="Permalink to 测试文章" href="/detail/?id={{item['pid']}}&amp;preview=true" target="_blank">{{item['title']}}</a></td>
                                        <td><a onclick="return confirm('您确定要删除吗？');" href="/favorite?action=del&amp;pid={{item['pid']}}&amp;_wpnonce=02b3fac0fe" target="_blank"><span title="删除" style="color: red;">删除</i></span></a></td>
                                    </tr>
                                {% end %}
                                </tbody>

                            </table>

                        </div>

                        <ul class="pagination">
                                  <li class="previous"><a href="#">上一页</a></li>
                                  <li class="active"><a href="#">1</a></li>
                                  <li><a href="#">2</a></li>
                                  <li><a href="#">3</a></li>
                                  <li><a href="#">4</a></li>
                                  <li><a href="#">5</a></li>
                                  <li class="next"><a href="#">下一页</a></li>
                        </ul>


                    </div>
                    <div class="clear"></div>

{% end %}